<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>水墨五子棋 - 中国传统棋艺</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=ZCOOL+XiaoWei&display=swap">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            background: linear-gradient(to bottom, #f5e8c9, #e6d3a7);
            background-attachment: fixed;
            color: #5c3d1e;
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
            font-family: 'ZCOOL XiaoWei', serif;
        }
        
        body::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="M0,0 L200,200 M200,0 L0,200" stroke="%23d4c19a" stroke-width="0.5" stroke-opacity="0.3"/></svg>');
            background-size: 60px 60px;
            z-index: -1;
            opacity: 0.8;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* 顶部装饰 */
        .top-decoration {
            height: 20px;
            background: linear-gradient(to right, #8b0000, #a52a2a, #8b0000);
            position: relative;
            margin-bottom: 30px;
            box-shadow: 0 3px 5px rgba(0,0,0,0.1);
        }
        
        .top-decoration::before, .top-decoration::after {
            content: "";
            position: absolute;
            top: 0;
            width: 20px;
            height: 20px;
            background: #8b0000;
            border-radius: 50%;
        }
        
        .top-decoration::before {
            left: -10px;
        }
        
        .top-decoration::after {
            right: -10px;
        }
        
        /* 头部 */
        header {
            text-align: center;
            padding: 20px 0;
            margin-bottom: 30px;
            position: relative;
        }
        
        .header-title {
            font-family: 'Ma Shan Zheng', cursive;
            font-size: 4rem;
            color: #8b0000;
            text-shadow: 3px 3px 0px rgba(139, 0, 0, 0.2);
            letter-spacing: 5px;
            margin-bottom: 10px;
        }
        
        .header-subtitle {
            font-size: 1.5rem;
            color: #5c3d1e;
            letter-spacing: 3px;
            position: relative;
            display: inline-block;
        }
        
        .header-subtitle::before, .header-subtitle::after {
            content: "❧";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #8b0000;
            font-size: 1.2rem;
        }
        
        .header-subtitle::before {
            left: -40px;
        }
        
        .header-subtitle::after {
            right: -40px;
        }
        
        /* 棋盘背景 */
        .chessboard-bg {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 400px;
            height: 400px;
            background-image: 
                linear-gradient(rgba(139, 0, 0, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(139, 0, 0, 0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            z-index: -1;
            opacity: 0.6;
            border: 2px solid rgba(139, 0, 0, 0.3);
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
        
        /* 主要内容区 */
        .hero {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 40px;
            margin: 40px 0;
            position: relative;
            z-index: 2;
        }
        
        .game-intro {
            background: rgba(255, 253, 245, 0.85);
            border: 2px solid #8b0000;
            border-radius: 5px;
            padding: 30px;
            max-width: 800px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            position: relative;
        }
        
        .game-intro::before {
            content: "";
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 150px;
            height: 30px;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 30"><path d="M0,0 Q75,30 150,0" fill="%238b0000" opacity="0.3"/></svg>') no-repeat;
        }
        
        .game-intro h2 {
            font-family: 'Ma Shan Zheng', cursive;
            font-size: 2.5rem;
            color: #8b0000;
            text-align: center;
            margin-bottom: 20px;
            position: relative;
        }
        
        .game-intro h2::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(to right, transparent, #8b0000, transparent);
        }
        
        .game-intro p {
            font-size: 1.3rem;
            line-height: 1.8;
            text-align: center;
            margin: 15px 0;
            color: #5c3d1e;
        }
        
        .highlight {
            color: #8b0000;
            font-weight: bold;
            font-size: 1.4rem;
        }
        
        /* 按钮区域 */
        .action-area {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
            margin-top: 20px;
        }
        
        .btn-group {
            display: flex;
            gap: 30px;
            margin: 20px 0;
        }
        
        .btn {
            position: relative;
            padding: 15px 40px;
            font-size: 1.3rem;
            font-weight: bold;
            font-family: 'Ma Shan Zheng', cursive;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            border-radius: 0;
            text-decoration: none;
            color: #f5e8c9;
            background: #8b0000;
            box-shadow: 0 5px 0 #5a0000;
            letter-spacing: 2px;
            z-index: 1;
            overflow: hidden;
        }
        
        .btn::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: 0.5s;
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 0 #5a0000;
        }
        
        .btn:hover::before {
            left: 100%;
        }
        
        .btn:active {
            transform: translateY(2px);
            box-shadow: 0 3px 0 #5a0000;
        }
        
        /* 功能区域 */
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 60px 0;
        }
        
        .feature-card {
            background: rgba(255, 253, 245, 0.85);
            border: 2px solid #8b0000;
            border-radius: 5px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            position: relative;
            transition: transform 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-10px);
        }
        
        .feature-icon {
            font-size: 3.5rem;
            color: #8b0000;
            margin-bottom: 15px;
        }
        
        .feature-card h3 {
            font-family: 'Ma Shan Zheng', cursive;
            font-size: 1.8rem;
            color: #8b0000;
            margin-bottom: 15px;
        }
        
        .feature-card p {
            color: #5c3d1e;
            line-height: 1.6;
            font-size: 1.1rem;
        }
        
        /* 底部 */
        footer {
            text-align: center;
            padding: 30px 0;
            margin-top: 60px;
            border-top: 2px solid #8b0000;
            color: #5c3d1e;
            font-size: 1.1rem;
            position: relative;
        }
        
        footer::before {
            content: "♟";
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background: #f5e8c9;
            line-height: 40px;
            font-size: 1.5rem;
            color: #8b0000;
        }
        
        .yin-yang {
            width: 60px;
            height: 30px;
            background: linear-gradient(to right, #5c3d1e 50%, #f5e8c9 50%);
            border-radius: 100% 0 0 100% / 50% 0 0 50%;
            margin: 15px auto;
            position: relative;
        }
        
        .yin-yang::before, .yin-yang::after {
            content: "";
            position: absolute;
            border-radius: 50%;
        }
        
        .yin-yang::before {
            width: 12px;
            height: 12px;
            background: #f5e8c9;
            top: 9px;
            left: 15px;
            box-shadow: 0 0 0 12px #5c3d1e;
        }
        
        .yin-yang::after {
            width: 12px;
            height: 12px;
            background: #5c3d1e;
            top: 9px;
            right: 15px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .header-title {
                font-size: 3rem;
            }
            
            .btn-group {
                flex-direction: column;
                gap: 20px;
            }
            
            .features {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .header-title {
                font-size: 2.5rem;
            }
            
            .header-subtitle {
                font-size: 1.2rem;
            }
            
            .game-intro p {
                font-size: 1.1rem;
            }
            
            .btn {
                padding: 12px 30px;
                font-size: 1.1rem;
            }
        }
    </style>
</head>
<body>
    <div class="top-decoration"></div>
    
    <div class="container">
        <header>
            <h1 class="header-title">水墨五子棋</h1>
            <div class="header-subtitle">中国传统棋艺 智慧对决</div>
        </header>
        
        <div class="chessboard-bg"></div>
        
        <section class="hero">
            <div class="game-intro">
                <h2>五子连珠 棋道千秋</h2>
                <p>五子棋，古称"连珠"，起源于中国上古时代，距今已有四千余年历史。此棋以<span class="highlight">阴阳五行</span>为基，<span class="highlight">易经八卦</span>为法，黑白二子象征天地阴阳，方寸棋盘暗藏宇宙玄机。</p>
                <p>对弈之道，贵在<span class="highlight">谋定而后动</span>，守则滴水不漏，攻则势如破竹。一子落盘，牵动全局；五子连珠，胜负立判。</p>
                <p>今邀君入此局，执子问乾坤，悟棋道，修心性，承中华千年智慧。</p>
                
                <div class="action-area">
                    <div class="btn-group">
                        <a href="login.html" class="btn">
                            <i class="fas fa-sign-in-alt"></i> 棋坛登入
                        </a>
                        <a href="register.html" class="btn">
                            <i class="fas fa-user-plus"></i> 初入棋境
                        </a>
                    </div>
                </div>
            </div>
        </section>
        
        <section class="features">
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-chess-rook"></i>
                </div>
                <h3>棋道传承</h3>
                <p>习古谱，悟棋理，承中华千年棋道精髓。从《棋经十三篇》到《玄玄棋经》，体会古人智慧结晶。</p>
            </div>
            
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-mountain"></i>
                </div>
                <h3>山水对弈</h3>
                <p>在虚拟的江南园林、高山流水间对弈，感受"松下弈棋图"的意境，体验文人雅士的棋趣。</p>
            </div>
            
            <div class="feature-card">
                <div class="feature-icon">
                    <i class="fas fa-dragon"></i>
                </div>
                <h3>神兽棋力</h3>
                <p>挑战青龙、白虎、朱雀、玄武四大神兽棋力，突破自我，提升境界，成就棋道大师。</p>
            </div>
        </section>
        
        <footer>
            <div class="yin-yang"></div>
            <p>棋道如水 润物无声 | 水墨五子棋 © 2023</p>
            <p>传承中华棋文化 弘扬东方智慧</p>
        </footer>
    </div>
    
    <script>
        // 添加简单的交互效果
        document.addEventListener('DOMContentLoaded', function() {
            const cards = document.querySelectorAll('.feature-card');
            
            cards.forEach(card => {
                card.addEventListener('mouseenter', function() {
                    this.style.transform = 'translateY(-10px)';
                });
                
                card.addEventListener('mouseleave', function() {
                    this.style.transform = 'translateY(0)';
                });
            });
            
            // 按钮悬停效果
            const buttons = document.querySelectorAll('.btn');
            buttons.forEach(btn => {
                btn.addEventListener('mouseenter', function() {
                    this.style.transform = 'translateY(-3px)';
                    this.style.boxShadow = '0 8px 0 #5a0000';
                });
                
                btn.addEventListener('mouseleave', function() {
                    this.style.transform = 'translateY(0)';
                    this.style.boxShadow = '0 5px 0 #5a0000';
                });
            });
        });
    </script>
</body>
</html>